package org.omg.RTCORBA;

/**
 * Generated from IDL definition of struct "Protocol"
 * 
 * @author orbas IDL compiler
 */

public final class ProtocolHolder implements org.omg.CORBA.portable.Streamable {
	public org.omg.RTCORBA.Protocol value;

	public ProtocolHolder() {
	}

	public ProtocolHolder(final org.omg.RTCORBA.Protocol initial) {
		value = initial;
	}

	public org.omg.CORBA.TypeCode _type() {
		return org.omg.RTCORBA.ProtocolHelper.type();
	}

	public void _read(final org.omg.CORBA.portable.InputStream _in) {
		value = org.omg.RTCORBA.ProtocolHelper.read(_in);
	}

	public void _write(final org.omg.CORBA.portable.OutputStream _out) {
		org.omg.RTCORBA.ProtocolHelper.write(_out, value);
	}
}
